package com.zhouzhou.fastjava.excel.exception;

public class ExceededWriteRowsException extends RuntimeException {

    private static final long serialVersionUID = -4818688526250634003L;

    private final long maxWriteRows;

    public ExceededWriteRowsException(long maxWriteRows) {
        this.maxWriteRows = maxWriteRows;
    }

    public long getMaxWriteRows() {
        return maxWriteRows;
    }

}
